#root {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ant-layout-header {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  flex-shrink: 0;
}

.content {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  overflow-y: auto;
}

/* Ensure tabs stay properly positioned */
.ant-tabs {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ant-tabs-content-holder {
  flex: 1;
  overflow-y: auto;
}

.ant-tabs-tab-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: white;
  margin-bottom: 0 !important;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.ant-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 24px;
}

.ant-form-item-label > label {
  font-weight: 500;
}

.ant-input,
.ant-input-password {
  border-radius: 4px;
}

.ant-btn {
  border-radius: 4px;
}

/* Tab content styling */
.ant-tabs-tabpane {
  height: 100%;
  overflow-y: auto;
  padding-top: 24px;
}

/* Ensure proper scrolling for long content */
.ant-tabs-content {
  height: 100%;
  overflow: hidden;
}

/* Grid layout adjustments for overview tab */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  height: fit-content;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .content {
    padding: 16px;
  }
  
  .ant-card {
    margin-bottom: 16px;
  }
  
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
